﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RoboRace_Shared
{
    [Serializable]
    public class Player
    {
        private string _name;
        private Guid _guid;
        private Boolean _isDisconnected;

        public string Name { get { return _name; } }
        public Guid Guid { get { return _guid; } set { _guid = value; } }
        public Boolean IsDisconnected { get { return _isDisconnected; } set { _isDisconnected = value; } }

        public Player(string name)
        {
            _name = name;
            _guid = new Guid();
        }
    }
}
